package info.wangyuan.agent.assembler;


import info.wangyuan.agent.entity.po.ModelConfig;
import info.wangyuan.agent.entity.vo.CurrentModelConfigVO;

/**
 * ModelConfig对象转换器
 *
 * @author Albert
 * @since 2025-09-10 19:42:58
 */
public class ModelConfigAssembler {

    /**
     * 转换为VO对象
     */
    public static CurrentModelConfigVO toVO(ModelConfig modelConfig) {
        return CurrentModelConfigVO.builder()
                .id(modelConfig.getId())
                .name(modelConfig.getName())
                .remark(modelConfig.getRemark())
                .build();
    }
}
